package com.zg.autoflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
* @author zg
*/
@Data
@ApiModel(value = "查询发起的流程入参", description = "查询发起的流程入参")
public class StartWorkflowReq {
    /**
    * 流程编号
    */
    @NotNull(message = "【流程编号】字段不能为NULL")
     @ApiModelProperty(value = "流程编号")
    private  String flowCode;
    /**
    * 启动环节
    */
     @ApiModelProperty(value = "启动环节")
    private  String startStep = "00";
    /**
    * 流程类型
    */
     @ApiModelProperty(value = "流程类型")
    private  String type;
    /**
    * 前置流程实例编码
    */
     @ApiModelProperty(value = "前置流程实例编码")
    private  List<String> beforeInstCodes = new ArrayList<>();
}
